<?php
/**
 * Unknown stanza. 
 * This object is created when the script could not decide which class represents response XML.
 * 
 * @package stanza
 */
class Zend_Jabber_Stanza_Unknown extends Zend_Jabber_Stanza_Abstract {
    /**
     * Create unknown (error) stanza
     *
     * @param DomDocument $dom 
     * @param integer $id Response identifier
     */
    public function __construct(DomDocument $dom, $id = false) {
        echo 'Unknown stanza/invalid xml' . "\n";
        echo $dom->saveXML();
        echo "\n";
    }
}
?>